package com.hospitalsystem.entity;

public class State {
    private String state;
    private Patient patient;

    public State(String state){
        this.state = state;
    }

    public State(String state,Patient patient){
        this.state = state;
        this.patient = patient;
    }

    public void setState(String state,Patient patient){
        this.state = state;
        this.patient = patient;
    }

    public String getState(){
        return state;
    }
    public Patient getPatient() {return patient;}
}
